package com.sun.services.users.service;


import com.sun.commons.base.PageData;
import com.sun.commons.base.R;
import com.sun.dto.users.LoginDto;
import com.sun.dto.users.UserDto;
import com.sun.dto.users.UserSearchModel;
import com.sun.entitys.users.User;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * MP自动填充Handler
 *
 * @Author sun
 * @CreateTime 2025/9/6 21:30
 */

public interface UserService {

    R Login(LoginDto loginDto);

    R register(UserDto userDto);

    R update(UserDto userDto);

    R delete(Long[] id);

    R updatePassword(UserDto userDto);

    R resetPassword(UserDto userDto);

    List<UserDto> getUserList(UserSearchModel searchModel);

    Page<UserDto> getUserListByPage(UserSearchModel searchModel);


}
